package utils;

/**
 * @description : TODO
 * @author: guangrui_hu
 * @date: 2023/1/13
 * @version:
 */
public enum StatusCode {
    SUCCESS("200","success"),
    FAIL("400","fail");
    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }


    StatusCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
